package com.hymall.bean.vo;

import java.util.Date;
import java.util.LinkedList;
import java.util.List;

/**
 * @Author: haiyuny
 * @Date: 2022/7/19 15:22
 * @Description:
 */
public class WXOrderDetailVO {


    private List<String> expressInfo;
    private OrderInfoEntity orderInfo;
    private List<OrderGoodsEntity> orderGoods;

    public void setExpressInfo(List<String> expressInfo) {
        this.expressInfo = expressInfo;
    }

    public void setOrderInfo(OrderInfoEntity orderInfo) {
        this.orderInfo = orderInfo;
    }

    public void setOrderGoods(List<OrderGoodsEntity> orderGoods) {
        this.orderGoods = orderGoods;
    }

    public List<?> getExpressInfo() {
        return expressInfo;
    }

    public OrderInfoEntity getOrderInfo() {
        return orderInfo;
    }

    public List<OrderGoodsEntity> getOrderGoods() {
        return orderGoods;
    }

    public class OrderInfoEntity {
        /**
         * expName : 圆通速递
         * consignee : 张三
         * address : 河北省石家庄市长安区 xx街道
         * addTime : 2022-07-19 14:11:28
         * orderSn : 20220719761075
         * actualPrice : 237.0
         * mobile : 13745561234
         * message :
         * expCode : YTO
         * orderStatusText : 已发货
         * aftersaleStatus : 0
         * goodsPrice : 149.0
         * expNo : 132121231
         * couponPrice : 0.0
         * id : 188
         * freightPrice : 88.0
         * handleOption : {"cancel":false,"confirm":true,"rebuy":false,"pay":false,"comment":false,"delete":false,"aftersale":false,"refund":false}
         */
        private String expName;
        private String consignee;
        private String address;
        private Date addTime;
        private String orderSn;
        private double actualPrice;
        private String mobile;
        private String message;
        private String expCode;
        private String orderStatusText;
        private int aftersaleStatus;
        private double goodsPrice;
        private String expNo;
        private double couponPrice;
        private int id;
        private double freightPrice;
        private HandleOptionEntity handleOption;

        public void setExpName(String expName) {
            this.expName = expName;
        }

        public void setConsignee(String consignee) {
            this.consignee = consignee;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public Date getAddTime() {
            return addTime;
        }

        public void setAddTime(Date addTime) {
            this.addTime = addTime;
        }

        public void setOrderSn(String orderSn) {
            this.orderSn = orderSn;
        }

        public void setActualPrice(double actualPrice) {
            this.actualPrice = actualPrice;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public void setExpCode(String expCode) {
            this.expCode = expCode;
        }

        public void setOrderStatusText(String orderStatusText) {
            this.orderStatusText = orderStatusText;
        }

        public void setAftersaleStatus(int aftersaleStatus) {
            this.aftersaleStatus = aftersaleStatus;
        }

        public void setGoodsPrice(double goodsPrice) {
            this.goodsPrice = goodsPrice;
        }

        public void setExpNo(String expNo) {
            this.expNo = expNo;
        }

        public void setCouponPrice(double couponPrice) {
            this.couponPrice = couponPrice;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setFreightPrice(double freightPrice) {
            this.freightPrice = freightPrice;
        }

        public void setHandleOption(HandleOptionEntity handleOption) {
            this.handleOption = handleOption;
        }

        public String getExpName() {
            return expName;
        }

        public String getConsignee() {
            return consignee;
        }

        public String getAddress() {
            return address;
        }



        public String getOrderSn() {
            return orderSn;
        }

        public double getActualPrice() {
            return actualPrice;
        }

        public String getMobile() {
            return mobile;
        }

        public String getMessage() {
            return message;
        }

        public String getExpCode() {
            return expCode;
        }

        public String getOrderStatusText() {
            return orderStatusText;
        }

        public int getAftersaleStatus() {
            return aftersaleStatus;
        }

        public double getGoodsPrice() {
            return goodsPrice;
        }

        public String getExpNo() {
            return expNo;
        }

        public double getCouponPrice() {
            return couponPrice;
        }

        public int getId() {
            return id;
        }

        public double getFreightPrice() {
            return freightPrice;
        }

        public HandleOptionEntity getHandleOption() {
            return handleOption;
        }

        public class HandleOptionEntity {
            /**
             * cancel : false
             * confirm : true
             * rebuy : false
             * pay : false
             * comment : false
             * delete : false
             * aftersale : false
             * refund : false
             */
            private boolean cancel;
            private boolean confirm;
            private boolean rebuy;
            private boolean pay;
            private boolean comment;
            private boolean delete;
            private boolean aftersale;
            private boolean refund;

            public void setCancel(boolean cancel) {
                this.cancel = cancel;
            }

            public void setConfirm(boolean confirm) {
                this.confirm = confirm;
            }

            public void setRebuy(boolean rebuy) {
                this.rebuy = rebuy;
            }

            public void setPay(boolean pay) {
                this.pay = pay;
            }

            public void setComment(boolean comment) {
                this.comment = comment;
            }

            public void setDelete(boolean delete) {
                this.delete = delete;
            }

            public void setAftersale(boolean aftersale) {
                this.aftersale = aftersale;
            }

            public void setRefund(boolean refund) {
                this.refund = refund;
            }

            public boolean isCancel() {
                return cancel;
            }

            public boolean isConfirm() {
                return confirm;
            }

            public boolean isRebuy() {
                return rebuy;
            }

            public boolean isPay() {
                return pay;
            }

            public boolean isComment() {
                return comment;
            }

            public boolean isDelete() {
                return delete;
            }

            public boolean isAftersale() {
                return aftersale;
            }

            public boolean isRefund() {
                return refund;
            }
        }
    }

    public class OrderGoodsEntity {
        /**
         * productId : 91
         * addTime : 2022-07-19 14:11:28
         * orderId : 188
         * goodsId : 1073008
         * goodsSn : 1073008
         * updateTime : 2022-07-19 14:11:28
         * specifications : ["标准"]
         * number : 1
         * picUrl : http://yanxuan.nosdn.127.net/619e46411ccd62e5c0f16692ee1a85a0.png
         * deleted : false
         * price : 149.0
         * comment : 0
         * id : 227
         * goodsName : 铸铁珐琅牛排煎锅
         */
        private int productId;
        private String addTime;
        private int orderId;
        private int goodsId;
        private String goodsSn;
        private String updateTime;
        private List<String> specifications;
        private int number;
        private String picUrl;
        private boolean deleted;
        private double price;
        private int comment;
        private int id;
        private String goodsName;

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public void setGoodsSn(String goodsSn) {
            this.goodsSn = goodsSn;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public void setSpecifications(List<String> specifications) {
            this.specifications = specifications;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public void setComment(int comment) {
            this.comment = comment;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public int getProductId() {
            return productId;
        }

        public String getAddTime() {
            return addTime;
        }

        public int getOrderId() {
            return orderId;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public String getGoodsSn() {
            return goodsSn;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public List<String> getSpecifications() {
            return specifications;
        }

        public int getNumber() {
            return number;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public double getPrice() {
            return price;
        }

        public int getComment() {
            return comment;
        }

        public int getId() {
            return id;
        }

        public String getGoodsName() {
            return goodsName;
        }
    }
}
